﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Happy.Dto;
using Happy.Archetype;
using Happy.Cms.Query.Shares;

namespace Happy.Cms.Query.Contacts
{
    [ViewModel]
    public sealed class ContactView :
        IId<Guid>,
        IOptimisticKey
    {
        public Guid Id { get; set; }

        public byte[] OptimisticKey { get; set; }

        public string Company { get; set; }

        public string Name { get; set; }

        public string Email { get; set; }

        public string Phone { get; set; }

        public string Fax { get; set; }

        public string Address { get; set; }

        public string Comments { get; set; }
    }
}
